home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global markerposition, savertime
- set markerposition to mouseH() & "," & mouseV()
- set the timeoutScript to EMPTY
- set the keyDownScript to "exitMovie"
- set the mouseDownScript to "exitMovie"
- changephoto()
- end
-
- on changephoto
- set saverphoto1 to string(random(14))
- set saverphoto2 to string(random(14))
- if saverphoto1 = saverphoto2 then
- set saverphoto1 to string(random(14))
- end if
- set the picture of cast "Photo" to the picture of cast saverphoto1
- updateStage()
- set markernum to string(random(8))
- go(markernum)
- end
-
- on idle
- global markerposition
- set currentmarkerposition to mouseH() & "," & mouseV()
- if currentmarkerposition <> markerposition then
- exitmovie()
- end if
- end
-
- on exitmovie
- global fileName
- set the keyDownScript to EMPTY
- set the mouseDownScript to EMPTY
- set the timeoutScript to "doTimeOut"
- go(1, fileName)
- end
-